﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	<meta charset="utf-8" />
</head>
<body>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script src="https://lib.baomitu.com/jquery/3.6.0/jquery.js"></script>
    <script>
        //axios.post('http://192.168.0.102:8080/API/Default/Login', { LoginName: 'admin', LoginPass: 'admin' }).then(res=> {
        //    alert(JSON.stringify(res));
        //}).catch(err=> {
        //    alert(JSON.stringify(err));
        //})
        $.ajax({
            url: 'http://localhost:24255/API/Default/Login',
            type: 'post',
            dataType: 'json',
            data: { LoginName: 'admin', LoginPass: 'admin' },
            success: function (data) {
                alert(JSON.stringify(data));
            }
        });
    </script>
</body>
</html>
